import * as React from 'react'
import 'isomorphic-unfetch'
import {
    Layout
    ,
} from 'antd'
const { Header, Footer, Sider, Content } = Layout;
import Layouts from '../index.js'

// export interface HelloProps { shows: string; }

export default class Index extends React.Component {
    static async getInitialProps() {
        // const res = await fetch('https://api.github.com/repos/developit/preact')
        // const json = await res.json()
        return {}
    }
    render() {
        return (
            <Layouts>
                <Layout>
                    <Header>Header</Header>
                    <Content>Content</Content>
                    <Footer>Footer</Footer>
                </Layout>

            </Layouts>
        )
    }
}

